package ue.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import ue.com.mapper.UserDao;
import ue.entity.system.User;
import ue.service.IuserService;
@Service
@Transactional
public class UserServiceImpl implements IuserService {


	@Resource
	UserDao userDao;
	
	@Override
	public User queryUser(Integer userId) {
		User user = this.userDao.getById(userId);
		
		return user;
		
	}

}
